<template>
  <div class="Login-Page">
    <div class="panel panel-primary">
      <div class="panel-heading">
        <h4 class="panel-title">登录</h4>
      </div>
      <div class="panel-body">
        <div class="row">
          <el-form :model="loginForm" label-width="60px">
            <el-form-item label="登录名">
              <el-input name="login" v-model="loginForm.login"></el-input>
            </el-form-item>
            <el-form-item label="密码">
              <el-input name="password" v-model="loginForm.password"></el-input>
            </el-form-item>
          </el-form>
          <div class="col-xs-4 col-xs-offset-6">
            <button class="btn btn-primary btn-block">登录</button>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>
<script>
  export default {
    name: 'Login-Page',
    data () {
      return {
        loginForm: {}
      }
    }
  }
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
  .Login-Page {

    width: 320px;

    margin: 60px auto;

  }
</style>
